(function(angular) {
	'use strict';
	angular.module('fs.waf').factory('reportreqService', reportreqService);
	reportreqService.$inject = [ '$q', '$timeout', 'loggerFactory', 'ajaxServiceFactory', 'modalService', 'gridService', 'arithService', '$filter' ];
	function reportreqService($q, $timeout, loggerFactory, ajaxServiceFactory, modalService, gridService, arithService, $filter) {
		var log = loggerFactory.getLogger("reportreqService"), ajaxService = ajaxServiceFactory.buildAjaxService({
			getReportreqStatusOptions : {
				url : 'do/cda/dataList/reportreqStatusOptions',
				method : 'get'
			},
		});
		
		function initListSearchOptions() {
			var defer1 = $q.defer();
			ajaxService.getReportreqStatusOptions().then(function(response) {
				defer1.resolve(response ? response.data : {});
			});
			return $q.all({
				reportreqStatusOptions : defer1.promise
			});
		}
		
		return {
			initListSearchOptions : initListSearchOptions
		};
	}
})(angular);
